<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<c:set var="count" value="1" scope="request" />
<c:if test="${crewJobCount ne null }">
	<c:set var="count" value="${crewJobCount}" scope="request" />
</c:if>

<div id="divCC${count}">
	<c:if test="${not empty crewjob }">
		<input type="hidden" name="cjid${count}" value="${crewjob.cjid }" />
	</c:if>
	<table>
		<tr>
			<td>Type</td>
			<td>Description</td>
			<td>Count</td>
		</tr>
		<tr>
			<td><input type="text" name="titleShowCC${count}"
				disabled="disabled"
				value="<c:if
						test="${not empty crewjob }">${crewjob.title.titleName }</c:if>"><input
				type="hidden" name="titleCC${count}"></td>

			<td><textarea rows="4" cols="50" name="descriptionCC${count}">
				<c:if test="${not empty crewjob }">${crewjob.description }</c:if>			
			</textarea></td>
			<td><input type="text"
				value="<c:choose><c:when test="${not empty crewjob }" >${crewjob.count }</c:when><c:otherwise>1</c:otherwise></c:choose>"
				name="countCC${count}" /> * (integer)</td>
		</tr>
	</table>
	<input type="button" id="cancelCC${count}" value="Cancel"
		onclick="javascript:cancelJob('CC${count}');" alt="CC${count}" />
	<div class="grid_24 hr-line2"></div>
</div>